package com.obixlabs.kalua.domainmodel.user;

import com.obixlabs.kalua.domainmodel.BaseIdentifier;


public class MobilePhoneNumber extends BaseIdentifier {
	
	private static final long serialVersionUID = -5340664253523251815L;
	private String rawFormat;

	private MobilePhoneNumber() { }
	
	public MobilePhoneNumber(String rawFormat) {
		this();
		setRawFormat(rawFormat);
	}

	public String getRawFormat() { return this.rawFormat; }
	private void setRawFormat(String rawFormat) 
	{ this.rawFormat = rawFormat; }

	public String toNeutralString() { return this.rawFormat; }
	
	@Override
	protected Object[] getConstituents() { return new Object[]{this.rawFormat}; }

	@Override
	public String toString() 
	{ return "MobilePhoneNumberImpl [rawFormat=" + rawFormat + "]"; }
}